package com.cyt.base.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


/**
 * 选择器统一返回数据
 *
 * @author shengQiang yu
 * @date 2019-05-06 16:46
 */
@Data
@NoArgsConstructor
public class SelectVo {
    /**
     * 返回数据id
     */
    private String id;
    /**
     * 返回显示数据name
     */
    private String name;
    /**
     * 返回展示数据名称集合
     */
    private List<String> showNameList;


    public SelectVo(String id, List<String> showNameList) {
        this.id = id;
        this.showNameList = showNameList;
    }

    public SelectVo(String id, String name, List<String> showNameList) {
        this.id = id;
        this.name = name;
        this.showNameList = showNameList;
    }

}
